<?php if (!defined('THINK_PATH')) exit(); if(is_array($medicine_apply)): foreach($medicine_apply as $me=>$medicine): ?><div class="card demo-card-header-pic">
        <div valign="bottom" class="card-header color-white no-border no-padding">
            <img class='card-cover' src="<?php echo ($medicine['headimgurl']); ?>" alt="">
            <a href="<?php echo U('Apply/expert_page',array('id'=>$medicine['id']));?>" class="button button-fill">预约</a>
        </div>
        <div class="card-content">
            <div class="card-content-inner">
                <p class="hot_list_title"><font class="name"><?php echo ($medicine['user_name']); ?></font>  
                    [&nbsp;<?php switch($medicine['type']): case "1": ?>军事专家<?php break;?>
                    <?php case "2": ?>国防专家<?php break;?>
                    <?php case "3": ?>医学专家<?php break; endswitch;?>&nbsp;]
                    <?php if($medicine['collection'] == 0): ?><span id="block" onclick="guanzhu(this, <?php echo ($vo['id']); ?>)">关注</span>
                    <span style='color: #e88d00;display: none'>已关注</span>
                    <?php else: ?>
                    <span id="display" style='color: #e88d00;'>已关注</span><?php endif; ?>
                </p>
                <a href="<?php echo U('Apply/expert_page',array('id'=>$medicine['id']));?>"><p class="card-text"><?php echo mb_substr($medicine['signature'],0,50,'utf-8');?>……</p></a>
                <p class="card-footer">
                    <span>好评<font><?php echo ($medicine['praise_number']); ?></font></span><span>浏览<font><?php echo ($medicine['visit_number']); ?></font></span>
                </p>
            </div>
        </div>
    </div><?php endforeach; endif; ?>